首页> 外文OA文献 >Dynamic Checking of Safe Concurrent Memory Access using Shared Ownership
【2h】

Dynamic Checking of Safe Concurrent Memory Access using Shared Ownership

机译:使用共享所有权动态检查安全并发内存访问

代理获取
本网站仅为用户提供外文OA文献查询和代理获取服务,本网站没有原文。下单后我们将采用程序或人工为您竭诚获取高质量的原文,但由于OA文献来源多样且变更频繁,仍可能出现获取不到、文献不完整或与标题不符等情况,如果获取不到我们将提供退款服务。请知悉。

摘要

In shared-memory concurrent programming, shared resources can be protectedusing synchronization mechanisms such as monitors or channels. The connectionbetween these mechanisms and the resources they protect is, however, only givenimplicitly; this makes it difficult both for programmers to apply themechanisms correctly and for compilers to check that resources are properlyprotected. This paper presents a mechanism to automatically check that sharedmemory is accessed properly, using a methodology called shared ownership. Incontrast to traditional ownership, shared ownership offers more flexibility bypermitting multiple owners of a resource. On the basis of this methodology, wedefine an abstract model of resource access that provides operations to managedata dependencies, as well as sharing and transfer of access privileges. Themodel is rigorously defined using a formal semantics, and shown to be free fromdata races. This property can be used to detect unsafe memory accesses whensimulating the model together with the execution of a program. Theexpressiveness and efficiency of the approach is demonstrated on a variety ofprograms using common synchronization mechanisms.
机译:在共享内存并行编程中,可以使用同步机制(例如监视器或通道)来保护共享资源。但是,这些机制与其所保护的资源之间的联系只是隐式给出的;这既使程序员难以正确地应用主题机制,也使编译器难以检查资源是否受到适当保护。本文提出了一种机制,可以使用称为共享所有权的方法来自动检查共享内存是否正确访问。与传统所有权相反,共享所有权通过允许资源的多个所有者提供更大的灵活性。在此方法的基础上,我们定义了资源访问的抽象模型,该模型提供了操作来管理数据依赖性以及共享和转移访问权限。该模型是使用形式语义严格定义的,并且没有数据争用。在模拟模型和执行程序时,可以使用此属性检测不安全的内存访问。使用通用同步机制在各种程序上证明了该方法的表达性和效率。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号